//
//  PPAlbumPictureInsertionTableViewPicturesCell.h
//  pickpic
//
//  Created by Jinxiao on 10/2/16.
//  Copyright © 2016 MicroDream. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "PPAlbumContentViewDataSource.h"

@class PPAlbumPictureInsertionTableViewPicturesCell;

@protocol PPAlbumPictureInsertionTableViewPicturesCellDelegate <NSObject>

- (void)albumCell:(PPAlbumPictureInsertionTableViewPicturesCell *)albumCell didSelectArtwork:(PPAbstractArtwork *)artwork atIndex:(NSInteger)index;

- (void)picturesCell:(PPAlbumPictureInsertionTableViewPicturesCell *)picturesCell didSelectDeleteButton:(UIButton *)button atIndex:(NSInteger)index;

@end

@interface PPAlbumPictureInsertionTableViewPicturesCell : UITableViewCell

@property (readonly) UIButton *addButton;

@property (readwrite, nonatomic, weak) id<PPAlbumPictureInsertionTableViewPicturesCellDelegate> delegate;

+ (CGFloat)heightForNumberOfPictures:(NSInteger)numberOfPictures boundingSize:(CGSize)boundingSize;

@property (readwrite, nonatomic, strong) PPAlbumContentViewDataSource *dataSource;

@end
